package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(100)"`
	Password string `gorm:"type:varchar(100)"`
}

type Cctv struct {
	gorm.Model
	UserId int `gorm:"type:int"`
}

type comment struct {
	gorm.Model
	UserId int    `gorm:"type:int"`
	CctvId int    `gorm:"type:int"`
	Desc   string `gorm:"type:varchar(255)"`
}
